<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>再见Vue</title>
  <script src="../js/vue.js"></script>
</head>

<body>
  <div id="app">
    <ul>
      <li v-for="(item, index) of arr" :key="index">{{item}}{{index}}</li>
    </ul>
  </div>
  <script>
    let vm = new Vue({
      el: '#app',
      data: {
        arr: ['张三', '李四', '王五', '路人甲', '路人乙']
      },
      methods: {
        clickHandler() {
          this.msg = '你好 vue'
        }
      }
    })
  </script>
</body>

</html>